<include file="Public:head"/>
<div class="main-container" id="main-container">
    <div class="main-container-inner">
        <include file="Public:left" />
        <div class="main-content">
            <div class="breadcrumbs" id="breadcrumbs">
                <ul class="breadcrumb">
                    <li><i class="icon-home home-icon"></i><a href="__APP__/{$Think.MODULE_NAME}">首页</a></li>
                    <li><a href="{:U('Say/lists')}">日志管理</a></li>
                    <li class="active">日志列表</li>
                </ul>
            </div>
            <div class="page-content">
                <div class="row">
                    <div class="col-xs-12">
                        <div class="row">
                            <div class="col-xs-12">
                                <div class="header smaller lighter blue">
                                    <div class="nav-search col-xs-10" id="nav-search">
                                        <form class="form-search" method="get" action="{:U('Say/log')}">
                                            <div class="search_area">

                                                <input class="form-control search-query" type="text" name="keywords" autocomplete="off"  placeholder="请输入日志名称" value="{$Think.get.keywords}">
                                                <button class="btn btn-purple btn-sm" type="submit">搜 索 <i class="icon_search icon-on-right bigger-110"></i></button>
                                            </div>
                                        </form>
                                    </div>
                                    <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons">
                                        
                                        <a class="red" data-toggle="modal" onclick="targetDelTable(0)"  data-rel="tooltip" data-original-title="批量删除">
                                            <i class="icon-trash bigger-130"></i>
                                        </a>
                                    </div>
                                    <div class='cl'></div>
                                </div>
                                <notempty name='lists'>
                                    <div class="table-responsive">
                                        <table id="sample-table-1" class="table table-striped table-bordered table-hover">
                                            <tbody>
                                                <tr>
                                                    <th class="center" width='45px'>
                                                        <label>
                                                            <input type="checkbox" class="ace"  autocomplete="off"/>
                                                            <span class="lbl"></span>
                                                        </label>
                                                    </th>
                                                    <th width="40px">序号</th>
                                                 
                                                     
                                                    <th>内容</th>
                                                    <th width="130px">发布时间</th>
                                                    <th style="width:130px;"><input type="checkbox" id="dels" autocomplete="off" onclick="checkAll($(this));" />操作</th>
                                                </tr>
                                            <notempty  name="lists">

                                                <foreach name="lists" key="key" item="row">
                                                    <tr id="del_{$row.id}">
                                                        <td class="center">
                                                            <label><input type="checkbox" class="ace" name="ids" value="{$row.id}" autocomplete="off" /><span class="lbl"></span></label>
                                                        </td>
                                                        <td>{$key+1|getPageKey}</td>
                                                        <td style="text-align: left"> {$row.title}</td>
                                                         
                                                        <td>{$row.addtime|date="Y-m-d H:i",###}</td>
                                                        <td>
                                                         
                                                            <a onclick="targetDelTable('{$row.id}')">删除</a>
                                                        </td>
                                                    </tr>
                                                </foreach>
                                                <else/>
                                                <tr>
                                                    <td colspan="7">没有找到相关数据。</td>
                                                </tr>

                                            </notempty>
                                            </tbody>
                                        </table>
                                    </div>
                                    <div id="grid-pager" class="ui-state-default  ui-corner-bottom" dir="ltr">
                                        <table width='100%' data-table='log'  id='modal_del_table'>
                                            <tr>
                                                <td>

                                                </td>
                                                <td class='td_pager'><div class='pager'>{$page}</div></td>
                                            </tr>
                                        </table>
                                    </div>
                                    <else/>
                                    <p class='noempty'>没有符合条件的记录！</p>
                                </notempty>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <include file="Public:setting" />
    </div>
</div>
<include file="Public:del" />
<include file="Public:state" />
<include file="Public:foot" />
